﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using plas.core.entity;
using plas.common.api.domain;
using plas.common.api;
using System.Reflection;
using plas.cps.api;
using plas.cps.api.services;
using plas.cps.api.entity;



namespace plas.cps.ui
{
    public partial class ResManageForm : AbstractForm
    {
        public ResManageForm()
        {
            InitializeComponent();
        }

        AbstractForm tf;
        public AbstractForm Tf
        {
            get { return tf; }
            set { tf = value; }
        }
        private IGoodsServices goodsServices;

        public IGoodsServices GoodsServices
        {
            get { return goodsServices; }
            set { goodsServices = value; }
        }

        private void ResManageForm_Load(object sender, EventArgs e)
        {
            //Dictionary<string, string> orders = new Dictionary<string, string>();
            //orders.Add("name", OrderBy.ORDER_DESC);
            //QueryResult<GoodsEntity> rel = null;
            //////if (Model == null)
            //    rel = this.goodsServices.QueryList(1, 5, null, orders);
            //////else
            //    ////    rel = this.goodsServices.QueryList(int.Parse(pageIndex), 5, Model, orders);
            //this.ResManagebindingSource.DataSource = rel.ResultList;
        }
    }
}
